import type { TableHeader , operationInstance } from "@/components/dzs-table/@types";

export const TABALE_HEADER: TableHeader[] = [
    {
        label: "项目名称",
        key: "title",
        width : "200px"
    },

    {
        label: "项目周期",
        key: "time",
        width : "160px"
    },
    {
        label: "项目简介",
        key: "introduce",
        width : "400px"
    },
    {
        label: "负责内容",
        key: "duty",
        width : "300px"
    },
    {
        label: "主要技术",
        key: "technology",
        width : "240px"
    },
    {
        label: "排序",
        key: "sorts",
    },
    {
        label: "是否显示",
        key: "is_show",
        isSlot : true,
        width : "160px"
    },
    {
        label: "更新时间",
        key: "updatetime",
        width : "160px"
    },
    {
        label: "创建时间",
        key: "addtime",
        width : "160px"
    },
    {
        label: "创建人",
        key: "createByUser",
        width : "100px"
    },
];

export const operation : Array<operationInstance> = ['edit','delete','detail'];
